<?php /* Smarty version Smarty-3.1.7, created on 2012-04-26 00:19:17
         compiled from "./templates/reply.tpl" */ ?>
<?php /*%%SmartyHeaderCode:409986404f9815f583aa99-15904713%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd1307b0784ab721ce9119b6b49c587f818f803e9' => 
    array (
      0 => './templates/reply.tpl',
      1 => 1335366890,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '409986404f9815f583aa99-15904713',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'row' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f9815f5a4408',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f9815f5a4408')) {function content_4f9815f5a4408($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/home/nishi/bbs/libs/plugins/modifier.date_format.php';
?><html>
<head>
<title>SHONAN BBS</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="./css/style.css"
      rel= "stylesheet"
      type= "text/css"
      media="all" />
</head>
<body>
<?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<h1>SHONAN BBS</h1>

<div class="commentBox">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['row']->value['nickname']);?>
さんの投稿<br>
<?php echo nl2br(htmlspecialchars($_smarty_tpl->tpl_vars['row']->value['content']));?>
<br>
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['created_at'],"%Y年%m月%e日");?>
<br>
</div>
に返信する
<form action= "reply_submit.php" method="post">
内容<br>
<textarea name="content" cols="60" rows="10"></textarea><br>
ニックネーム<br>
<input type="text" name="nickname" size="20"><br>
<input type="hidden" name="comment_id" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">
<input type="hidden" name= "session_id" value="<?php echo $_SESSION['submit_id'];?>
">
<input type="submit" name="send" value="投稿する">
</form>

</body>
</html>
<?php }} ?>